#ifndef DIALOGNEWMAP_H
#define DIALOGNEWMAP_H

#include <QDialog>

namespace Ui {
class DialogNewMap;
}

class DialogNewMap : public QDialog
{
    Q_OBJECT
    
public:
    explicit DialogNewMap(QWidget *parent = 0);
    ~DialogNewMap();

    bool                loadMapFromFile() const;
    bool                createNewMap() const;

    QString const&      getMapPath() const;
    int                 getMapWidth() const;
    int                 getMapHeight() const;

     void               initWidgets();
public slots:
    void                radioButtonActionLoad(bool isPressed);
    void                radioButtonActionCreate(bool isPressed);

    void                buttonActionNewMap();

    void                buttonActionBrowse();

private:
    Ui::DialogNewMap*   ui;
    bool                _loadFromFile;
    bool                _createNewMap;

    QString             _mapPath;
    int                 _mapWidth;
    int                 _mapHeight;
};

#endif // DIALOGNEWMAP_H
